{% extends "main_face_base.html" %}

{% block styles %}
	<link rel="stylesheet" href="static/face.css" type="text/css"/>
	<link rel="stylesheet" href="static/news.css" type="text/css"/>
{% endblock %}

{% block document_title %}HOME - Новости{% endblock %}

{% block title_center %}<p>Новости</p>{% endblock %}

{% block title_right %}<div>&nbsp;</div>{% endblock %}

{% block content_block_center %}
	<div>
		<ul>
			{% for event in events %}
			<li>
				<p>{{event.time|date:"d.m.Y H:i"}}</p>
				{% if event.title %}<h1>{{event.title}}</h1>{% endif %}
				{{event.text|safe}}
			</li>
			{% endfor %}
		</ul>
	</div>
{% endblock %}

{% block content_right %}<div id="body_right">&nbsp;</div>{% endblock %}	  		
